list1 = ["张三", "李四", "王五", "马六", "吴七"]
name = input("请输入你要查找的名字：")
if name in list1:
    x = list1.index(name)
    print("%s所在列表的位置是%d" % (name, x))
